package cn.edu.sziit.model;

public class PageBean {
   private int page;//第几页
   private int rows;//每页记录数
   private int start;//起始页
   private int teacher;
   
   
   
public PageBean(int page, int rows) {
	super();
	this.page = page;
	this.rows = rows;
}

public PageBean(int page, int rows, int teacher) {
	super();
	this.page = page;
	this.rows = rows;
	this.teacher = teacher;
}

public int getTeacher() {
	return teacher;
}

public void setTeacher(int teacher) {
	this.teacher = teacher;
}

public int getPage() {
	return page;
}
public void setPage(int page) {
	this.page = page;
}
public int getRows() {
	return rows;
}
public void setRows(int rows) {
	this.rows = rows;
}
public int getStart() {
	return (page-1)*rows;
}




   
}
